﻿Public Class X_MayIn
    Inherits PO
    Public Table_Name As String = I_MayIn.TableName

    ''' <summary>
    ''' Map đến 1 row trong database hoặc tạo mới
    ''' </summary>
    ''' <param name="id"></param>
    ''' <remarks></remarks>
    Public Sub New(ByVal id As Integer)
        Me.setPOinfo(PO.poInfoAll.Item(Me.Table_Name))
        MyBase.load(id)
    End Sub

    Public Overrides Function beforeSave(ByVal b As Boolean) As Boolean
        Return True
    End Function

    Public Overrides Function afterSave(ByVal b As Boolean) As Boolean
        Return True
    End Function

    Public Overrides Function beforeDelete() As Boolean
        Return True
    End Function

    Public Overrides Function afterDelete() As Boolean
        Return True
    End Function
End Class
